package collect.taobao.util.generate;

import javax.servlet.ServletContext;

import org.springframework.context.ApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;

import collect.taobao.util.SuperAction;

public class ControlAction  extends SuperAction{

	public ControlAction() {
		super();
	}

	public String executeXX(){
			ServletContext servletContext = this.getReq().getSession().getServletContext(); 
			ApplicationContext ctx=WebApplicationContextUtils.getWebApplicationContext(servletContext); 
			LogicService logicServer = (LogicService) ctx.getBean("logicService");
//			EntityBean EntityBean = new EntityBean();
			return "success";
	}

}
